package com.cyf.db.bean;

import java.util.Date;

/**
 * 用户和微信公众号的对应关系
 *
 * @author hfy
 * @date 2018/7/27
 */
public class UsersWechat {

    private Integer id;
    /**
     * api_user表的主键。其中表中保存了公众号信息。
     */
    private Integer apiUserId;
    /**
     * users表的主键
     */
    private Integer userId;
    /**
     * 用户针对微信公众号的唯一标识
     */
    private String openid;
    /**
     * parking表的主键。用户注册的车场id
     */
    private Integer parkingId;
    /**
     * local_person表的localPersonId，用户在车场的id
     */
    private Integer localPersonId;
    /**
     * 用户名称
     */
    private String personName;
    /**
     * 微信头像
     */
    private String headImgurl;

    /**
     * 手机号
     */
    private String phone;

    private Date createTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getApiUserId() {
        return apiUserId;
    }

    public void setApiUserId(Integer apiUserId) {
        this.apiUserId = apiUserId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public Integer getParkingId() {
        return parkingId;
    }

    public void setParkingId(Integer parkingId) {
        this.parkingId = parkingId;
    }

    public Integer getLocalPersonId() {
        return localPersonId;
    }

    public void setLocalPersonId(Integer localPersonId) {
        this.localPersonId = localPersonId;
    }

    public String getPersonName() {
        return personName;
    }

    public void setPersonName(String personName) {
        this.personName = personName;
    }

    public String getHeadImgurl() {
        return headImgurl;
    }

    public void setHeadImgurl(String headImgurl) {
        this.headImgurl = headImgurl;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
